<?php
/**
 * @file bg-info.php	Fixed!
 * @version 0.1
 * @desc 得到用户账户 和 交易账户 K宝、K币 余额
 * 
 */
$action = $_POST['action'];
$user_id = $_POST['user_id'];

if ( $action == 'getInfo' and !empty($user_id) ){

	$msg = '';
	require_once 'setting.php';
	$info = Appleseed::getUserInfo($user_id);	
	
	$result = array('info' => array($info), //这个方法SB、BT
				'msg' => $msg );
	echo json_encode($result);
} //END if getTop
?>